// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IBuilderUser.cs" company="AzureContrib (Open source library http://azurecontrib.codeplex.com)">
//   Microsoft Public License (Ms-PL)
// </copyright>
// <summary>
//   Any implementer would like to use the <see cref="IBuilder" /> at some point.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace AzureContrib.WindowsAzure.ServiceRuntime.ServiceLocation
{
	/// <summary>
	/// Any implementer would like to use the <see cref="IBuilder"/> at some point.
	/// </summary>
	public interface IBuilderUser
	{
		/// <summary>
		/// Sets the global <see cref="IBuilder"/> for access to <see cref="IBuilder.BuildUp"/> for instances not created through Inversion of Control.
		/// </summary>
		/// <param name="builder">The current global <see cref="IBuilder"/>.</param>
		void SetBuilder(IBuilder builder);
	}
}